package br.jm.amanaje.model;

import br.jm.amanaje.model.auto._TipoQualificacao;

public class TipoQualificacao extends _TipoQualificacao {

	private static final long serialVersionUID = 5378400238186549411L;
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + getNivel();
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TipoQualificacao other = (TipoQualificacao) obj;
		if (getNivel() != other.getNivel())
			return false;
		return true;
	}
	
	
	
}
